﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common.Master" AutoEventWireup="true"
    CodeBehind="ArchiveBorrowViewList.aspx.cs" Inherits="Web.Views.ArchiveBorrow.ArchiveBorrowView.ArchiveBorrowViewList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../../../Javascript/UserControls.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <ep:epgridview id="gv_ArchiveBorrowTotal" runat="server" width="100%" autogeneratecolumns="False"
        onrowdatabound="gv_ArchiveBorrowTotal_OnRowDataBound" datasortexpression="" enableemptycontentrender="True"
        enablemodelvalidation="True" goto="0" gvpagecount="0" showcheckbox="False" datakeynames="DATAID">
        <Columns>
            <asp:HyperLinkField HeaderText="查看流程" Text="查看" DataNavigateUrlFormatString="../ArchiveBorrowApply/ArchiveBorrowFaildView.aspx?DataID={0}"
                DataNavigateUrlFields="DataID" Target="_blank">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center" />
            </asp:HyperLinkField>
            <asp:HyperLinkField HeaderText="查看详细" Text="查看" DataNavigateUrlFormatString="ArchiveBorrowViewBasePage.aspx?DataID={0}"
                DataNavigateUrlFields="DataID" Target="_blank">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center" />
            </asp:HyperLinkField>
            <asp:HyperLinkField HeaderText="生成借阅单" Text="生成" DataNavigateUrlFormatString="../PrintArchiveBorrowList.aspx?DataID={0}"
                DataNavigateUrlFields="DataID" Target="_blank">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center" />
            </asp:HyperLinkField>
            <asp:BoundField DataField="DataID" Visible="false" />
            <asp:BoundField HeaderText="档案类型" DataField="ArchiveTypeID" HeaderStyle-Width="15%"
                Visible="false" />
            <asp:BoundField HeaderText="档案题名" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="15%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField HeaderText="档案ID" DataField="ArchiveDataID" HeaderStyle-Width="7%"
                Visible="false" ItemStyle-HorizontalAlign="Center" />
            <asp:BoundField HeaderText="申请单号" DataField="OrderID" HeaderStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField HeaderText="申请者" DataField="CREATEUSERID" HeaderStyle-Width="5%"
                ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField HeaderText="过期时间" DataField="Validperiod" HeaderStyle-Width="5%"
                DataFormatString="{0: yyyy-MM-dd}" ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField HeaderText="能否下载" DataField="CanDownLoad" HeaderStyle-Width="5%"
                ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField HeaderText="能否浏览" DataField="Canview" HeaderStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField HeaderText="是否纸质文档" DataField="IsPaperarchive" HeaderStyle-Width="5%"
                ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField HeaderText="归还时间" DataField="ReturnTime" DataFormatString="{0: yyyy-MM-dd}"
                HtmlEncode="false" HeaderStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField HeaderText="是否归还" DataField="ISPaperArchiveReturn" HeaderStyle-Width="5%"
                ItemStyle-HorizontalAlign="Center">
                <HeaderStyle Width="5%"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundField>
        </Columns>
    </ep:epgridview>
    <ep:aspnetpager submitbuttontext=" GO " id="pagerdo" height="26px" width="100%" cssclass="yahoo2"
        alwaysshow="false" runat="server" pagesize="10" layouttype="Table" showcustominfosection="Right"
        custominfoclass="custom" custominfostyle=" clear:both;" showpageindexbox="Always"
        submitbuttonimageurl="../Images/go.png" showpageindex="true" pageindexboxtype="TextBox"
        custominfohtml="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条">
    </ep:aspnetpager>
</asp:Content>
